<div id="toolbar" class="order-car" >
	<div class="toolbar-menu">
		<a href="javascript:;" class="tb_m_off toggle none"></a>
		<ul class="toolbar-list">
			<li class="user">
				<a href="/member/index/index.shtml">
					{if $userphoto}
					<img src="{$userphoto}" alt="用户中心">
					{else}
					<img src="/res/mpe/img/blank.gif" alt="用户中心">
					{/if}
				</a>
			</li>
			<li class="car toggle">
				{if $cartCount>0}
				<i class="carNum_id badge">{$cartCount}</i>
				{else}
				<i class="carNum_id"></i>
				{/if}
				<a href="javascript:;"><img src="/res/mpe/img/blank.gif" alt="购物车">
				<span>购物车</span></a>
			</li>
			<li class="kefu">
				<img src="/res/mpe/img/blank.gif" alt="客服">
				<div class="detail">
					<div class="con">
						<!--<p class="{if $k == count($qqArr)-1}noborder{/if}"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$qq['qq']}&site=qq&menu=yes" alt="投诉建议" title="投诉建议">收钱客服</a></p>
						<p class="{if $k == count($qqArr)-1}noborder{/if}"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$qq['qq']}&site=qq&menu=yes" alt="投诉建议" title="投诉建议">售后客服</a></p>
						<p class="{if $k == count($qqArr)-1}noborder{/if}"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$qq['qq']}&site=qq&menu=yes" alt="投诉建议" title="投诉建议">售后客服</a></p>-->
						{loop $qqArr $k $qq}
						<p class="{if $k == count($qqArr)-1}noborder{/if}"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$qq['qq']}&site=qq&menu=yes" alt="投诉建议" title="投诉建议">{$qq['name']}</a></p>
						{/loop}
					</div>
				</div>
			</li>

		</ul>
		<a href="javascript:;" class="top"><img src="/res/mpe/img/blank.gif" alt="返回顶部"></a>
	</div>
	<div class="toolbar-tb">
		<div class="tb-title">
			<div class="checkbox-wrap">
				<input class="c_all" id="c_all" type="checkbox">
				<label for="c_all" class="check_box"></label>
				<span>我的购物车</span>
			</div>
		</div>
		<div class="tb-loading"><img src="/res/mpe/js/plug/layer/skin/default/loading-1.gif"></div>
		<form class="tb-content car_tb" action="/member/order/createOrder"></form>
		<div class="tb-bottom">
			<span class="all_num_t none"></span>
			<p class="red" >共计金额：￥<span class="all_count_t">0</span></p>
			<button type="button" data-act="pay">结算<i class="settled"></i></button>
		</div>

	</div>
</div>
<script type="text/html" id="carTemp">
	{%product%}
	{%each product%}
	<dl class="tb-c tr">
		<a data-act="del" data-id="{%$value.id%}" href="javascript:;" class="tb-close"></a>
		<dt class="fl">
		<div class="checkbox-wrap">
		<input type="hidden" name="delivery_way[]" value="{% $value.delivery_way%}">
		<input type="hidden" name="repertory_id[]" value="{% $value.repertory_id%}">
		<input type="hidden" name="has[]" value="{%$value.has%}">
		<input id="car_{%$index%}" type="checkbox" name="id[]" value="{%$value.id%}" {%if $value.has>=0%} checked{%else%} disabled{%/if%}>
		<label for="car_{%$index%}" class="check_box"></label>
		</div>
		</dt>
		<dd class="break-word">
			{%=$value.name%}
		</dd>
		<dd class="tb-inner">
			<p class="fl red">￥ <span class="price">{%$value.price%}</span></p>
			<span class="count none">{%$value.price%}</span>
			<div class="num_box fr">
				<a href="javascript:;" class="cut"></a>
				<input  class="num"  name="quantity[]" value="{%if $value.has>=0%}{%$value.min_volume%}{%else%}0{%/if%}"  data-min="{%$value.min_volume%}" data-max="{%$value.max_volume%}" {%if $value.has<0 %} disabled{%/if%} type="text">
				<a href="javascript:;" class="add"></a>
			</div>
		</dd>
	</dl>
{%/each%}
</script>